<form action="{:url()}" method="post" class="form_single">
    <div class="box">
      <div class="box-body">
        <div class="row">
          <div class="col-md-6">
            <div class="form-group">
              <label>员工名</label>
              <span>（用户名会作为默认的昵称）</span>
              <input class="form-control" name="name" placeholder="请输入用户名" type="text">
            </div>
          </div>
 
          <div class="col-md-6">
            <div class="form-group">
              <label>密码</label>
              <span>（用户密码不能少于6位）</span>
              <input class="form-control" name="password" placeholder="请输入密码" type="password">
            </div>
          </div>
 
          <div class="col-md-6">
            <div class="form-group">
              <label>确认密码</label>
              <span>（确认密码需要和密码一致）</span>
              <input class="form-control" name="password_confirm" placeholder="请输入确认密码" type="password">
            </div>
          </div>
 
          <div class="col-md-6">
            <div class="form-group">
              <label>邮箱</label>
              <span>（用户邮箱，用于找回密码等安全操作）</span>
              <input class="form-control" name="email" placeholder="请输入邮箱" type="text">
            </div>
          </div>




          <div class="col-md-6">
            <div class="form-group">
              <label>性别</label>
              <select name="sex" class="form-control" placeholder="请输入性别(0:男, 1:女)" value="{$info['sex']|default=''}">
                {notempty name='info'}
                   {if ($info['sex'] == '男')}
                  <option value="0" selected="selected">男</option>
                  <option value="1">女</option>
                  {else}
                  <option value="0">男</option>
                  <option value="1" selected="selected">女</option>
                  {/if}
                  {else/}
                  <option value="0" selected="selected">男</option>
                  <option value="1">女</option>
                {/notempty}
                </select>
            </div>
          </div>
    
            
         
            
        </div>
      </div>
      <div class="box-footer">
        
        {include file="layout/edit_btn_group"/}
      </div>
    </div>
</form>
